{% load static %}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="{% static 'css/base.css' %}">
</head>
<body>
    <div class="container">
        <nav class="nav">
            <ul>
                <li><a href="/">首页</a></li>
                <li><a href="{% url 'add_photo' %}">新增照片</a></li>
            </ul>
        </nav>
        <h1>{% block title %}{% endblock %}</h1>
        {% block body %}{% endblock %}
    </div>
</body>
</html>